
//float类型网格
.make-grid(@index) when (@index > 0){
	.col-@{index} {
		padding:0 @grid-padding;
		min-height:1px;
		width:percentage(1 / @grid-count * @index);;
		position:relative;
		float:left;
	}

	.make-grid(@index - 1);
}


//flex类型网格
.make-flex-grid(@index) when (@index > 0){
	.col-flex-@{index}{
		float:none;
		width:0;
		-webkit-box-flex:@index;
	}

	.make-flex-grid(@index - 1);
}

.make-stand-size(@size,@lh) {
	@name:  unit(@size) * @ratio;

	.text-standard-size-@{name} {
		font-size: @size * @ratio;
		line-height: @lh * @ratio;
	}
}